package com.ruoyi.hr.mapper.salary;


import com.ruoyi.hr.domain.Authority;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SpecialPersonRegisterMapper {
    /**
     * 获取特殊人员登记数据
     *
     * @param map
     * @return
     */
    List<Map<String, Object>> findData(@Param("authorities") List<Authority> authorities, @Param("map") Map map, @Param("isAdmin") int isAdmin);

    /**
     * 新增
     *
     * @param map
     * @return
     */
    int add(Map map);

    String getyhlb(String bcid);
    String getpgid(Map map);
    Map<String,Object> findDataById(int id);
    int edit(Map map);
    int delete(String id);
}
